import {TABKEY} from '../config.js'

const initiState = {
  tabs: [
    {
      name: '点菜',
      key: TABKEY.menu
    },
    {
      name: '评价',
      key: TABKEY.comment
    },
    {
      name: '商家',
      key: TABKEY.shoper
    }
  ]
}

const tabReducer = (state = initiState, action) => {
  switch(action.type){
    default:
      return state
  }
}

export default tabReducer